package com.elitel.frame.base.service.impl;

import com.elitel.frame.base.service.BaseSearchService;
import com.elitel.frame.main.dao.BaseSearchMapper;
import com.elitel.frame.main.entity.BaseSearch;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *全文检索服务配置服务接口实现类
 * created by guoyanfei on 2018/3/27
 */
@Service
public class BaseSearchServiceImpl implements BaseSearchService {
    @Autowired
    private BaseSearchMapper baseSearchMapper;
    /**
     * 修改全文检索服务配置表
     * created on 2018/03/27
     * 实现方法
     * @param baseSearch 实体
     * @return 修改条数
     * @author guoyanfei
     */
    @Override
    public Integer updateBaseSearch(BaseSearch baseSearch) {
        return baseSearchMapper.updateByPrimaryKeySelective(baseSearch);
    }
}
